#pragma once
#include "TileRenderer.h"
#include "RenderHelper.h"
#include <windows.h>
#include "Constants.h"

class Tiles
{
public:
 
	CTileRenderer renderer;

	Tiles(void);
	Tiles(int, int);
	Tiles(int, int, int**&);
	~Tiles(void);
	int ** tiles;
	int Rows;
	int Cols;

	bool canGoThere(int x, int y, int width, int height);
	void Draw(HDC graphics, HWND handle, HDC bufDC, HBITMAP bufBMP);
	void Draw(HDC bufDC);
	
private:
	void initArray();



};
